import { defineConfig } from "vitest/config";
import jsdom from "jsdom";

export default defineConfig({
  test: {
    environment: "jsdom",
    globals: true,
    setupFiles: ["./vitest.setup.ts"], // 添加 setup 文件
  },
});
